package cn.itcast.travel.service;

import cn.itcast.travel.domain.User;

import java.io.IOException;

public interface UserService {
    boolean regist(User user) throws IOException;

    boolean active(String code);

    User login(User user);
    User findUserByUserName(String username);
}
